Tree diagram view definition

Overview

Next Design allows you to view-define a tree diagram that allows you to view your hierarchical model structure in a tree arrangement. In the tree diagram, based on the metamodel definition of the model structure, you can display and edit only the entities you want to see according to the purpose.

Info

  • The entities that can be displayed as child nodes in the tree of the tree diagram are the entities that have owning relationship, reference relationship, and derived relationship with the entity of the parent node.
  • Not only a tree that represents the parent-child structure of a model, but also a tree that traces the relationships between models.

Note

  • The tree diagram only shows a tree view of the entities that you have added as shapes to your view definition.
  • Even if you have defined the model hierarchy in the metamodel, the child nodes of the tree will not be visible until you add a shape to the view definition of the tree diagram.

Many of the view definition operations for tree diagrams are the same as the view definition operations for ER diagrams. Below, the difference from the view definition of the ER diagram is explained, and the operation procedure is explained only for the difference.

Difference from ER diagram view definition

Differences between the tree diagram view definition and the ER diagram view definition are shown below.

  • Shape definition

    View definition operation Difference from ER diagram
    Add a shape Only child shapes directly under the tree root can be added
    Add Child Shapes Can Add Tree Child Nodes Instead of Nested Shapes
    Changing shape type and shape None
    Change the default shape style None
    Change entity icon None
    Change shape label None
    Changing Compartment Compartments Compartments Not Available in Tree Diagram
    Delete Shape None
  • Connector definition

    You don't need to define any connectors as the tree diagram will automatically show the relationships between the models as lines connecting the tree nodes.

Add a shape

If you add a new tree diagram view to your model's view, you will see only that one model. As with ER diagrams, adding a shape to the tree diagram view displays a tree view of the models associated with that model.

If you want to be able to expand further into the tree hierarchy and expand child nodes, do the "Add Child Shapes" section below.

Add child shape

To drill down the tree hierarchy in a tree diagram so that you can expand related elements of the model as child nodes:

Add Child Shape

Operating procedure

  1. In the view, select the shape you want to expand the child node.
  2. Add the child shape using one of the following methods.
    • Click [Shape]> [Shape]> [Shape] from the ribbon, and click [Child Shape] from the shape list.
    • Click Profile> Diagram> Shape from the ribbon, then click Child Shape from the list of shapes.
  3. In the [New Shape] dialog, select the field holding the relevant model from the [Target Field] pull-down list, and click the [OK] button.
  4. You can now drag and drop entities that can be added as related elements from the [Tool Box].

Note

  • If there are multiple types of entities that can be added as related elements, you need to add a child shape for each of those entities.